import 'package:flutter/material.dart';

import '../constants.dart';

class SearchKeywords extends StatelessWidget {
  const SearchKeywords();

  @override
  Widget build(BuildContext context) {
    return Container(
      margin: const EdgeInsets.symmetric(horizontal: margin10, vertical: 16),
      child: Row(
        children: [
          for (String s in recommendedSearches)
            Container(
              margin: const EdgeInsets.only(right: 12),
              padding: const EdgeInsets.symmetric(vertical: 4, horizontal: 8),
              decoration: BoxDecoration(
                color: Colors.white54,
                borderRadius: BorderRadius.circular(12),
              ),
              child: Text(
                s,
                style: const TextStyle(
                  fontSize: 10,
                  height: 1.0,
                ),
              ),
            )
        ],
      ),
    );
  }
}
